<div id="sidebar-main">

<div id="home-sidebar-left">

<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(1) ) : ?>


<?php if(function_exists("wp_theme_switcher")) : ?>
<h3><?php _e('Themes'); ?></h3>
<?php wp_theme_switcher('dropdown'); ?>
<?php endif; ?>



<?php include (TEMPLATEPATH . '/subscribes.php'); ?>



<h3><?php _e('Categories'); ?></h3>
<ul class="list">
<?php wp_list_categories('orderby=id&show_count=1&use_desc_for_title=0&title_li='); ?>
</ul>

<h3><?php _e('Archives'); ?></h3>
<ul class="list">
<?php wp_get_archives('type=monthly&limit=12&show_post_count=1'); ?>
</ul>


<h3><?php _e('Pages'); ?></h3>
<ul class="list">
<?php wp_list_pages('title_li=&depth=0'); ?>
</ul>





<?php if(is_home){ ?>

<?php if (function_exists('get_highest_rated')): ?>
<h3>Highest Rated</h3>
   <ul class="list">
      <?php get_highest_rated(); ?>
   </ul>
<?php endif; ?>

<?php if (function_exists('get_most_rated')): ?>
<h3>Most Rated</h3>
   <ul class="list">
      <?php get_most_rated(); ?>
   </ul>
<?php endif; ?>

<?php } ?>

<h3><?php _e('Meta'); ?></h3>
<ul class="list">
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid XHTML</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo get_settings('home'); ?>&amp;usermedium=all">Valid CSS</a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul>

<?php endif; ?>

</div>